package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.product.Category;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author: Mouoal
 * @CreateTime: 2024-12-10  21:54
 * @Version: 1.0
 */
public interface CategoryService {
    //根据parentId获取下级节点
    List<Category> findByParentId(Long parentId);

    //导出接口
    public abstract void exportData(HttpServletResponse response);

    //导入接口
    void importData(MultipartFile file);
}
